package cn.fzkj;

public abstract class Test1 {

    public void test(int index) {
        if (index == 1){
            save();
        }
        if (index == 2){
            update();
        }
        if (index == 3){
            delete();
        }
        System.out.println("lalala");
    }

    abstract void save();
    abstract void update();
    abstract void delete();
}
